<?php
    $dropdown_data_level= array(
        'table_name'=>'animus_anounce_level',
        'key_field'=>'id',
        'value_field'=>'name',
        'order_by'=>'id ASC'
    );
?>
<div id="actu1" align="center">  
    <h1>UPGRADE UNNOUNCE HERE!</h1>
    <?php
        $announce_id = isset($announce_id)?$announce_id:$this->input->post('announce_id')
    ?>
    <?php echo form_open('annonce/update_annonce');?>
    <input type="hidden" name="announce_id" value="<?php echo $announce_id;?>" />
    <p><?php echo form_dropdown('level',dropdown_data($dropdown_data_level),'1');?></p>
    <p><input type="submit" value="UPGRADE" name="upgrade" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="submit" value="FREE ONLY" name="free" /></p>
    <?php echo form_close();?>
    <h3 style="color: red;"><?php if(isset($information)) echo $information;?></h3>
</div>
